
import request from "@/utils/request";
class UserAPI {
  /*     用户信息     */
  static user () {
    return request({
      url: "/api/admin/user",
      method: "GET",
    });
  }
  /*     修改个人资料     */
  static changeUser (data) {
    return request({
      url: "/api/user/profile-information",
      method: "POST",
      data
    });
  }

}
export default UserAPI;